package org.ourgrid.broker.business.scheduler.workqueue.xmlcreator;

public class StartTransferXMLCreator implements XMLCreatorIF{

	/**
	 * <START_TRANSFER handleId='long' localFileName='String' destinationFileName='String' 
	 * description='String' id='String'/> 
	 */
	public String getXML(long handleId, String localFileName, String description, String id){
		
		StringBuffer buffer = new StringBuffer();
		
		buffer.append("<START_TRANSFER ");
		buffer.append("handleId='" + handleId + "' ");
		buffer.append("localFileName='" + localFileName + "' ");
		buffer.append("description='" + description + "' ");
		buffer.append("id='" + id + "' ");
		buffer.append("/>");
		
		return buffer.toString();
	}
}
